#ifndef UICALLBACK_H_
#define UICALLBACK_H_

#include "Window.h"
#include "UIElement.h"
#include <string>

namespace Lame3d
{
	class UICallback
	{
		public:
			UICallback(const std::string &n);
			virtual ~UICallback();
			
			virtual void Handle(Window &w, UIElement &e, const std::string &m) = 0;
			
			const std::string& Name() const;
			
		protected:
			std::string name;
	};
}

#endif /*UICALLBACK_H_*/
